package com.hero.jobweb.entity;

import java.util.Date;

import com.hero.basicsystem.entity.Department;
import com.hero.basicsystem.entity.User;

/**
 * BasicSystem数据库User适配器
 * 
 * @author Volcano
 * 
 */
public class TbUserAdapter extends TbUsers {
	private User user;

	public TbUserAdapter(User user) {
		this.user = user;
	}

	@Override
	public Department getDepartment() {
		return super.getDepartment();
	}

	@Override
	public void setDepartment(Department department) {
		super.setDepartment(department);
	}

	@Override
	public Integer getId() {
		return user.getId();
	}

	@Override
	public void setId(Integer id) {
		user.setId(id);
	}

	@Override
	public String getNAME() {
		return user.getName();
	}

	@Override
	public void setNAME(String NAME) {
		user.setName(NAME);
	}

	@Override
	public String getEnglishName() {
		return user.getEnglishName();
	}

	@Override
	public void setEnglishName(String englishName) {
		user.setEnglishName(englishName);
	}

	@Override
	public String getDisplayName() {
		return user.getDisplayName();
	}

	@Override
	public void setDisplayName(String displayName) {
		user.setDisplayName(displayName);
	}

	@Override
	public String getSex() {
		return user.getSex();
	}

	@Override
	public void setSex(String sex) {
		user.setSex(sex);
	}

	@Override
	public Date getBoneDate() {
		return user.getBoneDate();
	}

	@Override
	public void setBoneDate(Date boneDate) {
		user.setBoneDate(boneDate);
	}

	@Override
	public String getGuid() {
		return user.getGuid();
	}

	@Override
	public void setGuid(String guid) {
		user.setGuid(guid);
	}

	@Override
	public String getDescription() {
		return user.getDescription();
	}

	@Override
	public void setDescription(String description) {
		user.setDescription(description);
	}

	@Override
	public String getPASSWORD() {
		return user.getPassword();
	}

	@Override
	public void setPASSWORD(String PASSWORD) {
		user.setPassword(PASSWORD);
	}

	@Override
	public String getAddress() {
		return user.getAddress();
	}

	@Override
	public void setAddress(String address) {
		user.setAddress(address);
	}

	@Override
	public String getHomePhone() {
		return user.getHomePhone();
	}

	@Override
	public void setHomePhone(String homePhone) {
		user.setHomePhone(homePhone);
	}

	@Override
	public String getOfficePhone() {
		return user.getOfficePhone();
	}

	@Override
	public void setOfficePhone(String officePhone) {
		user.setOfficePhone(officePhone);
	}

	@Override
	public String getMobile() {
		return user.getMobile();
	}

	@Override
	public void setMobile(String mobile) {
		user.setMobile(mobile);
	}

	@Override
	public String getFax() {
		return user.getFax();
	}

	@Override
	public void setFax(String fax) {
		user.setFax(fax);
	}

	@Override
	public String getEmail() {
		return user.getEmail();
	}

	@Override
	public void setEmail(String email) {
		user.setEmail(email);
	}

	@Override
	public String getWeb() {
		return user.getWeb();
	}

	@Override
	public void setWeb(String web) {
		user.setWeb(web);
	}

	@Override
	public String getDuty() {
		return user.getDuty();
	}

	@Override
	public void setDuty(String duty) {
		user.setDuty(duty);
	}

	@Override
	public String getRemark() {
		return user.getRemark();
	}

	@Override
	public void setRemark(String remark) {
		user.setRemark(remark);
	}

	@Override
	public String getEnterpriseName() {
		return user.getEnterpriseName();
	}

	@Override
	public void setEnterpriseName(String enterpriseName) {
		user.setEnterpriseName(enterpriseName);
	}

	@Override
	public String getPastalCode() {
		return user.getPastalCode();
	}

	@Override
	public void setPastalCode(String pastalCode) {
		user.setPastalCode(pastalCode);
	}

	@Override
	public String getCountry() {
		return user.getCountry();
	}

	@Override
	public void setCountry(String country) {
		user.setCountry(country);
	}

	@Override
	public String getState() {
		return user.getState();
	}

	@Override
	public void setState(String state) {
		user.setState(state);
	}

	@Override
	public String getCity() {
		return user.getCity();
	}

	@Override
	public void setCity(String city) {

		user.setCity(city);
	}

	@Override
	public Integer getUserTypeId() {

		return user.getUserTypeId();
	}

	@Override
	public void setUserTypeId(Integer userTypeId) {

		user.setUserTypeId(userTypeId);
	}

	@Override
	public String getUserTypeCode() {

		return user.getUserTypeCode();
	}

	@Override
	public void setUserTypeCode(String userTypeCode) {

		user.setUserTypeCode(userTypeCode);
	}

	@Override
	public Integer getDepartmentId() {

		return user.getDepartmentId();
	}

	@Override
	public void setDepartmentId(Integer departmentId) {

		user.setDepartmentId(departmentId);
	}

	@Override
	public Date getRegTime() {

		return user.getRegTime();
	}

	@Override
	public void setRegTime(Date regTime) {

		user.setRegTime(regTime);
	}

	@Override
	public Date getUpdateTime() {

		return user.getUpdateTime();
	}

	@Override
	public void setUpdateTime(Date updateTime) {

		user.setUpdateTime(updateTime);
	}

	@Override
	public String getSTATUS() {

		return user.getStatus().toString();
	}

	@Override
	public void setSTATUS(String STATUS) {

		user.setStatus(Short.parseShort(STATUS));
	}

	@Override
	public String getTraditionalName() {

		return user.getTraditionalName();
	}

	@Override
	public void setTraditionalName(String traditionalName) {

		user.setTraditionalName(traditionalName);
	}

	@Override
	public String getGetWay() {

		return super.getGetWay();
	}

	@Override
	public void setGetWay(String getWay) {

		super.setGetWay(getWay);
	}

}
